#!/bin/bash

# 路径声明
path=$(pwd)

#docker run -dti --name nginx nginx

docker run -dti --name nginx-iot \
-p 7080:80 \
-v $path/www:/usr/share/nginx/html \
-v $path/conf/nginx.conf:/etc/nginx/nginx.conf \
-v $path/logs:/var/log/nginx \
nginx